Happy holidays to everyone!
Last week, a couple of my friends and I bought some of the holiday snacks/products at trader joes to taste test and review. We gave each item a rating from 1-10 and the ratings are in the order [Mark, Allison, Devika]. Here are our takes:
Mini Gingerbread People [5,6.5,8.5]
Peppermint Chocolate Chunk Cookie Mix [7,6,6]
Dark Chocolate Covered Peppermint Joe Joe's [9,9,8.5]
Dark Chocolate Covered Minty Mallows [4,4,2]
Okay now let's look at the ratings data!
import numpy as np
import pandas as pd
one = np.array([5.5,6.5,8.5])
data1 = pd.Series(one, index =["mark","allison", "dev"], name='gingermen')
two = np.array([7,6,6])
data2 = pd.Series(two, index =["mark","allison", "dev"],name='cookiemix')
three = np.array([9,9,8.5])
data3 = pd.Series(three, index =["mark","allison", "dev"], name='joejoes')
four = np.array([4,4,2])
data4 = pd.Series(four, index =["mark","allison", "dev"], name='mintymarshmallow')
data = pd.concat([data1,data2,data3,data4], axis=1)
dataflip = data.T
print(dataflip)
## mark allison dev
## gingermen 5.5 6.5 8.5
## cookiemix 7.0 6.0 6.0
## joejoes 9.0 9.0 8.5
## mintymarshmallow 4.0 4.0 2.0
library(reticulate)
library(ggplot2)
library(tidyr)
summary(py$data)
## gingermen cookiemix joejoes mintymarshmallow
## Min. :5.500 Min. :6.000 Min. :8.500 Min. :2.000
## 1st Qu.:6.000 1st Qu.:6.000 1st Qu.:8.750 1st Qu.:3.000
## Median :6.500 Median :6.000 Median :9.000 Median :4.000
## Mean :6.833 Mean :6.333 Mean :8.833 Mean :3.333
## 3rd Qu.:7.500 3rd Qu.:6.500 3rd Qu.:9.000 3rd Qu.:4.000
## Max. :8.500 Max. :7.000 Max. :9.000 Max. :4.000
After looking at the summary data, we can see that the joejoes were clearly the most liked snack! Go get em! #This post is not sponsored by Trader Joes.